package cn.gqr;


import cn.gqr.entity.BookType;
import cn.gqr.service.BookService;
import cn.gqr.service.impl.BookServiceImpl;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;
import java.util.Map;

@SpringBootTest
public class test1 {

    @Autowired
    BookServiceImpl bookService;

    @Test
    void testt(){
        Map map = bookService.selectBookByPage(0, 3, 111,null);
        System.out.println(map.get("books"));
        System.out.println(map.get("total"));
    }

}
